becc055c9ac3e79615faf75594a274ce4066225c,fabric/fabric-agent/src/main/java/org/fusesource/fabric/agent/DeploymentAgent.java,DeploymentAgent,isUpdateable,#Bundle#,788

Before Change


    }

    private static boolean isUpdateable(Bundle bundle) {
        return (bundle.getLocation().endsWith(SNAPSHOT) || bundle.getLocation().startsWith(BLUEPRINT_PREFIX) || bundle.getLocation().startsWith(SPRING_PREFIX));
    }

    private static boolean isUpdateable(Resource resource) {

After Change


    }

    private static boolean isUpdateable(Bundle bundle) {
        return (SNAPSHOT_PATTERN.matcher(bundle.getLocation()).matches() || bundle.getLocation().startsWith(BLUEPRINT_PREFIX) || bundle.getLocation().startsWith(SPRING_PREFIX));
    }

    private static boolean isUpdateable(Resource resource) {